﻿@model Data.DBModels.Website


    <a href="@Model.Url">@Model.Name</a>
    <div class="edit website"></div>
    <div class="delete website"></div><div id="@Model.Id.ToString("N")"></div>
        @Ajax.ActionLink("edit", "EditPopUp", "Website", 
        new { id = @Model.Id }, 
        new AjaxOptions() { HttpMethod = "Get", InsertionMode = InsertionMode.Replace, UpdateTargetId = @Model.Id.ToString("N") })


@Ajax.ActionLink("delete", "Delete", "Website",
        new { id = @Model.Id },
                new AjaxOptions() { HttpMethod = "Post", Confirm = "Are you sure you wish to delete this website?", InsertionMode = InsertionMode.Replace, UpdateTargetId = "displayAllCategories" })
